<?php
namespace app\common\model;

use think\facade\Session;
use think\Model;
use wxkxklmyt\Scws;

class Vip extends Model
{
    protected $insert = ['create_time'];


    /**
     * 创建时间
     * @return bool|string
     */
    protected function setCreateTimeAttr()
    {
        return time();
    }

    /**
     * 创建时间
     * @return bool|string
     */
    protected function getCreateTimeAttr($value)
    {
        return date("Y-m-d H:i:s",$value);
    }
}